package com.buka.communicate.entity;

import java.io.Serializable;

/**
 * 作者 ： dyj
 * 时间 ： 2016/3/29.
 */

public class User implements Serializable {

    /**
     * token : 64a53294-8a43-4fea-94b2-b5524f1e2adb
     * user : {"id":"40287381585e0c3401585e0edb4f0001","username":"","password":"e10adc3949ba59abbe56e057f20f883e","gender":0,"phone":17710663181,"pic_save_url":"","create_time":20161113221941,"update_time":20161113222856,"district":"北京","birthday":19710101000000,"job":"","zodiac":"","equi_type":0,"vchat_iden":0,"push_token":"","user_state":0,"user_type":0}
     */

    private String token;
    private String teacherLevel;

    public String getTeacherLevel() {
        return teacherLevel;
    }

    public void setTeacherLevel(String teacherLevel) {
        this.teacherLevel = teacherLevel;
    }

    /**
     * id : 40287381585e0c3401585e0edb4f0001
     * username :
     * password : e10adc3949ba59abbe56e057f20f883e
     * gender : 0
     * phone : 17710663181
     * pic_save_url :
     * create_time : 20161113221941
     * update_time : 20161113222856
     * district : 北京
     * birthday : 19710101000000
     * job :
     * zodiac :
     * equi_type : 0
     * vchat_iden : 0
     * push_token :
     * user_state : 0
     * user_type : 0
     */

    private UserEntity user;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserEntity getUser() {
        return user;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public static class UserEntity {
        private String id;
        private String username;
        private String password;
        private int gender;
        private long phone;
        private String pic_save_url;
        private long create_time;
        private long update_time;
        private String district;
        private long birthday;
        private String job;
        private String zodiac;
        private int equi_type;
        private int vchat_iden;
        private String push_token;
        private int user_state;
        private int user_type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public long getPhone() {
            return phone;
        }

        public void setPhone(long phone) {
            this.phone = phone;
        }

        public String getPic_save_url() {
            return pic_save_url;
        }

        public void setPic_save_url(String pic_save_url) {
            this.pic_save_url = pic_save_url;
        }

        public long getCreate_time() {
            return create_time;
        }

        public void setCreate_time(long create_time) {
            this.create_time = create_time;
        }

        public long getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(long update_time) {
            this.update_time = update_time;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public long getBirthday() {
            return birthday;
        }

        public void setBirthday(long birthday) {
            this.birthday = birthday;
        }

        public String getJob() {
            return job;
        }

        public void setJob(String job) {
            this.job = job;
        }

        public String getZodiac() {
            return zodiac;
        }

        public void setZodiac(String zodiac) {
            this.zodiac = zodiac;
        }

        public int getEqui_type() {
            return equi_type;
        }

        public void setEqui_type(int equi_type) {
            this.equi_type = equi_type;
        }

        public int getVchat_iden() {
            return vchat_iden;
        }

        public void setVchat_iden(int vchat_iden) {
            this.vchat_iden = vchat_iden;
        }

        public String getPush_token() {
            return push_token;
        }

        public void setPush_token(String push_token) {
            this.push_token = push_token;
        }

        public int getUser_state() {
            return user_state;
        }

        public void setUser_state(int user_state) {
            this.user_state = user_state;
        }

        public int getUser_type() {
            return user_type;
        }

        public void setUser_type(int user_type) {
            this.user_type = user_type;
        }
    }
}
